# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atkmm
pkgver=2.28.4
pkgrel=0
pkgdesc="C++ bindings for atk"
options="!check" # No testsuite
url="https://www.gtkmm.org/en/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="at-spi2-core-dev glibmm-dev libsigc++-dev meson"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"

replaces="gtkmm"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
30a714971234aebf06a04abeff5fc3b6951b56130aaddbd1a92856b3fb87cf9ba3c34539465b7f0905f871d763239642efe7904b24f33f11e57bf013e4bca533  atkmm-2.28.4.tar.xz
"
